package org.zeus.eureka.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author liuwei
 * @date 2018/8/14 16:03
 */
@SpringBootApplication
@EnableEurekaServer
public class ZeusEurekaServer {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = new SpringApplicationBuilder(ZeusEurekaServer.class).
                profiles("slave0").run(args);
    }
}
